<template>
  <div class="child">
    <h3 class="title">子组件的标题</h3>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "ChildIndex",
  // inheritAttrs: 设置当前组件跟节点是否自动继承传入attributes
  inheritAttrs: false,
});
</script>
<script lang="ts" setup></script>

<style></style>
